package com.kobeliu.service;

import com.kobeliu.enums.PaymentStatus;
import com.kobeliu.pojo.MerchantOrders;
import com.kobeliu.pojo.bo.MerchantOrderBO;

public interface PaymentOrderService {

    /**
     * 查询商户订单状态
     * @param bo
     * @return
     */
    boolean createPaymentOrder(MerchantOrderBO bo);

    /**
     * 查询商户订单信息
     * @param merchantOrderId
     * @param waitPay
     * @return
     */
    MerchantOrders queryOrderInfo(String merchantOrderId, PaymentStatus waitPay);
}
